import React, { Component } from 'react'
import './index.css'

export default class School extends Component {
	state = {name:'尚硅谷',address:'宏福科技园'}
	render() {
		const {name,address} = this.state
		return (
			<div className="school">
				<h3>我是School组件</h3>
				<ul>
					<li>学校名称：{name}</li>
					<li>学校地址：{address}</li>
				</ul>
			</div>
		)
	}
}
